home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / x / volume6 / xtroff / patch9 next >
Encoding:
Internet Message Format  |  1993-04-28  |  23.6 KB

  1. From: moraes@cs.toronto.edu (Mark Moraes)
  2. Newsgroups: comp.sources.x
  3. Subject: v06i029: xtroff -- postscript previewer for X11, Patch9
  4. Message-ID: <132798@sun.Eng.Sun.COM>
  5. Date: 10 Mar 90 22:13:32 GMT
  6. Approved: argv@sun.com
  7.  
  8. Submitted-by: Mark Moraes <moraes@cs.toronto.edu>
  9. Posting-number: Volume 6, Issue 29
  10. Archive-name: xtroff/patch9
  11.  
  12. [ Note, the previous posting of xpic patch 11 is applicable to the
  13. version of xpic that resides on the R4 contrib tape, which is at
  14. patchlevel 10.  If you already have xpic and/or xtroff at different
  15. patchlevels and need missing patches, mail to moraes@cs.toronto.edu ]
  16.  
  17. xtroff on the R4 contrib tape was at patchlevel 8 already.
  18.  
  19. *** /dev/null    Mon Feb 19 23:45:32 1990
  20. --- contrib/clients/xtroff/CHANGES.Pat09    Mon Feb 19 23:08:49 1990
  21. ***************
  22. *** 0 ****
  23. --- 1,13 ----
  24. + - fixes a definition of XawScrollbarSetThumb that changed in R4 so xtroff
  25. +   compiles. Imakefile follows R4 conventions.
  26. + - can read from stdin again.
  27. + - fix of backward scroll page with "xtroff -full" problem. (from dac@cray.com)
  28. + - specification of "unsigned" in dev.h (from dac@cray.com)
  29. + - fakes 'z' command from Berkeley ditroff with BSpline instead of Bezier.
  30. +   (from Andreas Stolcke, stolcke@icsib12.Berkeley.EDU)
  31. + - Updated README.X11 to reflect R4 reality.
  32. diff -r -c orig/xtroff/patchlevel.h contrib/clients/xtroff/patchlevel.h
  33. *** orig/xtroff/patchlevel.h    Thu Nov 23 22:41:44 1989
  34. --- contrib/clients/xtroff/patchlevel.h    Fri Feb 16 04:01:37 1990
  35. ***************
  36. *** 1,2 ****
  37. ! #define PATCHLEVEL 8
  38.   
  39. --- 1,2 ----
  40. ! #define PATCHLEVEL 9
  41.   
  42. diff -r -c orig/xtroff/CHANGES.Pat07 contrib/clients/xtroff/CHANGES.Pat07
  43. *** orig/xtroff/CHANGES.Pat07    Tue Nov  7 04:07:50 1989
  44. --- contrib/clients/xtroff/CHANGES.Pat07    Mon Feb 19 23:08:48 1990
  45. ***************
  46. *** 1,5 ****
  47. - to be released 
  48.   - Minibuf now understands cut, emacs style - by clicking to set the mark
  49.     with the right button. (Also sets selection owner to none, so you can paste
  50.     the cut text into xterm)
  51. --- 1,3 ----
  52. diff -r -c orig/xtroff/CHANGES.Pat08 contrib/clients/xtroff/CHANGES.Pat08
  53. *** orig/xtroff/CHANGES.Pat08    Wed Nov 22 09:22:58 1989
  54. --- contrib/clients/xtroff/CHANGES.Pat08    Mon Feb 19 23:08:48 1990
  55. ***************
  56. *** 1,5 ****
  57. - to be released 
  58.   - devX11 added - this is the collating sequence for the ISO fonts
  59.     provided with X11.  This allows the use of these fonts when the
  60.     devpsc fonts are not available.  Some troff characters are not
  61. --- 1,3 ----
  62. diff -r -c orig/xtroff/Imakefile contrib/clients/xtroff/Imakefile
  63. *** orig/xtroff/Imakefile    Thu Nov 23 23:45:34 1989
  64. --- contrib/clients/xtroff/Imakefile    Sun Feb 18 13:23:12 1990
  65. ***************
  66. *** 61,66 ****
  67. --- 61,67 ----
  68.           WINDOWS = xwindows    /* Source file for windows code */
  69.           XTSTUFF = XtStuff/libXtStuff.a
  70.   LOCAL_LIBRARIES = $(XTSTUFF) $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
  71. +         DEPLIBS = $(XTSTUFF) $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
  72.    SUNTROFF_FONTS = $(FONTDIR)/xtroff
  73.      DEV_INCLUDES = -I./XtStuff
  74.       DEV_SUBDIRS = XtStuff # devX11
  75. ***************
  76. *** 179,185 ****
  77.   
  78.   Makefiles::
  79.       @echo 'Making Makefiles in devpsc...' ; \
  80. !     $(MAKE) subdirMakefiles NEWTOP=../ MAKEFILE_SUBDIR=devpsc
  81.   
  82.   devpsc::
  83.           cd devpsc; make $(MFLAGS) MAKEDEV=$(MAKEDEV) \
  84. --- 180,191 ----
  85.   
  86.   Makefiles::
  87.       @echo 'Making Makefiles in devpsc...' ; \
  88. !     case "$(TOP)" in \
  89. !     /?*) newtop= upprefix= ;; \
  90. !     *) upprefix=../ ;; \
  91. !     esac; \
  92. !     $(MAKE) subdirMakefiles UPPREFIX=$$upprefix NEWTOP=$$newtop \
  93. !     MAKEFILE_SUBDIR=devpsc NEW_CURRENT_DIR=$(CURRENT_DIR)/devpsc
  94.   
  95.   devpsc::
  96.           cd devpsc; make $(MFLAGS) MAKEDEV=$(MAKEDEV) \
  97. diff -r -c orig/xtroff/README contrib/clients/xtroff/README
  98. *** orig/xtroff/README    Tue Nov  7 03:03:05 1989
  99. --- contrib/clients/xtroff/README    Mon Feb 19 23:08:51 1990
  100. ***************
  101. *** 50,56 ****
  102.   resembling suntroff.tr (i.e ASCII commands) then it's ditroff - if you
  103.   get a binary file, or the dreaded 'Typesetter busy', then you've got
  104.   the venerable old troff that produces stuff for a CAT typesetter. If
  105. ! you have the old troff, and do not want to, or cannot purchase DWB from
  106.   AT&T or your computer vendor, you may be interested in looking at a
  107.   package called psroff that was posted to the comp.sources.unix USENET
  108.   newsgroup in Volume 20, Issue 33, sometime in 1989. You can get this
  109. --- 50,56 ----
  110.   resembling suntroff.tr (i.e ASCII commands) then it's ditroff - if you
  111.   get a binary file, or the dreaded 'Typesetter busy', then you've got
  112.   the venerable old troff that produces stuff for a CAT typesetter. If
  113. ! you have the old troff, and do not want to or cannot purchase DWB from
  114.   AT&T or your computer vendor, you may be interested in looking at a
  115.   package called psroff that was posted to the comp.sources.unix USENET
  116.   newsgroup in Volume 20, Issue 33, sometime in 1989. You can get this
  117. diff -r -c orig/xtroff/README.X11 contrib/clients/xtroff/README.X11
  118. *** orig/xtroff/README.X11    Wed Nov 22 09:22:59 1989
  119. --- contrib/clients/xtroff/README.X11    Mon Feb 19 23:13:58 1990
  120. ***************
  121. *** 1,27 ****
  122.    X11 Notes:  
  123.    ---------- 
  124.       Most of the install details are the same as for Suntroff. The
  125. ! major difference is fonts. The Makefile is hopefully intelligent enough
  126.   that you can just change the few constants at the top and make install.
  127.   Wherever the other README refers to suntools, read 'the X Windows
  128.   System Version 11' and wherever it refers to suntroff, read xtroff.
  129.   
  130. !     If you are running on a system with dirent.h instead of sys/dir.h,
  131. ! you should uncomment the -DDIRENT from the XtStuff Makefile.
  132.   
  133.       With X11R4, the capability was added to xtroff to handle the
  134. ! X11 fonts directly.  The ISO collating sequence is assumed and 
  135. ! xtroff uses the X11 fonts if the devpsc fonts are not available.
  136. ! A direct mapping from the [di]troff font name to the X11 font
  137. ! name is supplied as an app-defaults resource.  Thanks to
  138. ! Keith Packard (keith@expo.lcs.mit.edu) for the ideas and code taken
  139. ! from his xditview.
  140.   
  141. !     With X11R3 are included a nice set of Adobe, Bitstream and DEC
  142. ! fonts at 75dpi and 100dpi resolutions. These are in ISO collating
  143. ! format - we use these fonts to create a new set in PostScript collating
  144. ! sequence. The code and scripts to do this were provided by Dave
  145. ! Cahlander <dac@earth.cray.com>. Thanks Dave.
  146.   
  147.       For X Windows releases before X11R3, the only fonts I know of that
  148.   are widely available and come in a range of sizes useful for documents are
  149. --- 1,46 ----
  150.    X11 Notes:  
  151.    ---------- 
  152.       Most of the install details are the same as for Suntroff. The
  153. ! major difference is fonts. The Imakefile is hopefully intelligent enough
  154.   that you can just change the few constants at the top and make install.
  155.   Wherever the other README refers to suntools, read 'the X Windows
  156.   System Version 11' and wherever it refers to suntroff, read xtroff.
  157. + There are a few porting notes below.
  158.   
  159. !     The usual sequence to build xtroff (with X11R4) is
  160.   
  161. +     xmkmf         # generates Makefile from Imakefile. For R3, try ximake
  162. +     make Makefiles    # generates subdirectory Makefiles
  163. +     make clean
  164. +     make depend
  165. +     make
  166. +     If you need the devpsc and devX11 files (you can get away without
  167. + them if you have a devpsc from TranScript installed), then making those is
  168. + a bit trickier since they need to know where the MIT fonts are.  I use:
  169. +     cd devpsc; make TOP=/src/X.V11R4/mit MAKEDEV=/local/bin/makedev
  170. + where /src/X.V11R4/mit is the official X source directory.  There may be
  171. + a better way.
  172. +     If you are running on a system with dirent.h instead of
  173. + sys/dir.h, you should uncomment the -DDIRENT from the XtStuff
  174. + Imakefile.  This is automaticaly set if SystemV is defined.
  175.       With X11R4, the capability was added to xtroff to handle the
  176. ! X11 fonts directly.  The ISO collating sequence is assumed and xtroff
  177. ! uses the X11 fonts if the devpsc fonts are not available.  A direct
  178. ! mapping from the [di]troff font name to the X11 font name is supplied
  179. ! as an app-defaults resource.  Thanks to Keith Packard
  180. ! (keith@expo.lcs.mit.edu) for the ideas and code taken from his
  181. ! xditview.
  182.   
  183. !     From X11R3 onwards, the MIT X distribution includes a nice set
  184. ! of Adobe, Bitstream and DEC fonts at 75dpi and 100dpi resolutions.
  185. ! These are in ISO collating format - we use these fonts to create a new
  186. ! set in PostScript collating sequence. The code and scripts to do this
  187. ! were provided by Dave Cahlander <dac@earth.cray.com>. Thanks Dave.
  188.   
  189.       For X Windows releases before X11R3, the only fonts I know of that
  190.   are widely available and come in a range of sizes useful for documents are
  191. ***************
  192. *** 40,51 ****
  193.   demands for lower case fontnames only. If you have any other fonts,
  194.   you might want to see font.c!
  195.   
  196. -     The Makefile is set to generate the xfonts on install if it is not
  197. - making suntroff. (WARNING: Since Sun has broken 'make' in SunOS4.0 so it
  198. - cannot process rules with more than one period in the suffix, you'll have to
  199. - get GNU make or some other public domain make, or make from BSD4.[23] if you
  200. - have source, or something to make xfonts under SunOS4.0. Complain to Sun)
  201.       Most of the X11 code is in the file xwindows.c - chalk up a
  202.   point for the X Toolkit. There are a few lines added to draw.c for
  203.   drawing functions, and to font.c to load fonts. 
  204. --- 59,64 ----
  205. ***************
  206. *** 52,73 ****
  207.   
  208.       The directory XtStuff contains the fixed menu widget, based on
  209.   fixes made by Dana Chee to a piece of code that was in the R2
  210. ! contrib/menus directory. There's a window widget that used to be with
  211. ! Chris Peterson's xman.
  212.   
  213.       For the record, this is a straight port of the SunTools
  214. ! previewer suntroff which can still be made by simply defining the
  215. ! previewer in the Makefile to be suntroff. Credit goes to the authors
  216. ! of suntroff for an excellent troff previewer - I only did an X
  217. ! interface.
  218.   
  219. !     xtroff has been tested on Sun3-{50,60,110}s and Sun4-110s with bw2
  220. ! and cg4 displays, running SunOS3.5 and 4.0. It works reasonably well on
  221. ! these. It has also been tested briefly on a monochrome Vaxstation 3200
  222. ! running Ultrix 2.2 and works, but runs *SLOWLY* presumably because of slow
  223. ! 'mi' code in the uVax server for dealing with large pixmaps. One day,
  224. ! someone will hopefully fix the server. It has allegedly been seen to compile
  225. ! and run on Silicon Graphics Iris4d machines and on a Cray running Unicos.
  226.   
  227.       In the process of porting it to X11, and improving it to work
  228.   under newer versions of X, it is quite possible that the suntools
  229. --- 65,87 ----
  230.   
  231.       The directory XtStuff contains the fixed menu widget, based on
  232.   fixes made by Dana Chee to a piece of code that was in the R2
  233. ! contrib/menus directory. When compiling with R4, the Xaw SimpleMenu is
  234. ! used instead. There's also a window widget that used to be with Chris
  235. ! Peterson's xman.
  236.   
  237.       For the record, this is a straight port of the SunTools
  238. ! previewer suntroff which one might still be able to compile by simply
  239. ! defining SUNTROFF in the Imakefile. Credit goes to the authors of
  240. ! suntroff for an excellent troff previewer - I only did an X interface.
  241.   
  242. !     xtroff has been tested on Sun3-{50,60,110}s and Sun4-110s with
  243. ! bw2 and cg4 displays, running SunOS3.5 and 4.0 under MIT X.V11R3 and
  244. ! R4. It works reasonably well on these. It has also been tested briefly
  245. ! on a monochrome Vaxstation 3200 running Ultrix 2.2 and MIT X.V11R2 and
  246. ! works, but runs *SLOWLY* presumably because of slow 'mi' code in the
  247. ! uVax server for dealing with large pixmaps. One day, someone will
  248. ! hopefully fix the server. It has allegedly been seen to compile and
  249. ! run on Silicon Graphics Iris4d machines and on a Cray running Unicos.
  250.   
  251.       In the process of porting it to X11, and improving it to work
  252.   under newer versions of X, it is quite possible that the suntools
  253. ***************
  254. *** 74,84 ****
  255.   version has been broken.  It was last seen working at patchlevel 6,
  256.   thanks to fixes from Andreas Stolcke <stolcke@icsib2.Berkeley.EDU>.
  257.   
  258. - NOTE: xwindows.c uses vfprintf() and vsprintf() for the error routines. If
  259. - your machine does not have them, either scream at your manufacturer, or get
  260. - a copy from bsd-sources/src/lib/libc/stdio/v*printf.c. They're freely
  261. - redistributable.
  262.   The following are X Windows specific files:
  263.   
  264.       xwindows.c        This file contains all the X11 interface.
  265. --- 88,93 ----
  266. ***************
  267. *** 124,129 ****
  268. --- 133,159 ----
  269.       util.c            minibuffer for text interaction and message
  270.       ask.c            display.
  271.       
  272. + PORTING NOTES: 
  273. + - xwindows.c uses vfprintf() and vsprintf() for the error routines. If
  274. + your machine does not have them, either scream at your manufacturer,
  275. + or get a copy from bsd-sources/src/lib/libc/stdio/v*printf.c. They're
  276. + freely redistributable.
  277. + - If you are using the xfonts scheme and devpsc.* fontnames, first make
  278. + sure the fonts are where your X server can see them, (you may need to do
  279. +     xset fp rehash
  280. + to make this happen. Try
  281. +     xlsfonts 'devpsc*'
  282. + to see that they exist, try 
  283. +     xfd devpsc.r.10
  284. + to make sure they can be loaded.
  285. + - I have only tested xtroff with Real X -- the one that comes from MIT.
  286. + It should work with vendor supplied X distributions (DECWindows,
  287. + OpenWindows, Motif, etc., but if it doesn't complain to your vendor,
  288. + not me)
  289.   
  290.                                           Mark Moraes
  291.                                           Computer Systems Research Institute,
  292. diff -r -c orig/xtroff/dev.h contrib/clients/xtroff/dev.h
  293. *** orig/xtroff/dev.h    Fri Apr 24 09:11:10 1987
  294. --- contrib/clients/xtroff/dev.h    Fri Feb 16 04:01:45 1990
  295. ***************
  296. *** 21,27 ****
  297.   };
  298.   
  299.   struct Font {        /* characteristics of a font */
  300. !     char    nwfont;        /* number of width entries for this font */
  301.       char    specfont;    /* 1 == special font */
  302.       char    ligfont;    /* 1 == ligatures exist on this font */
  303.       char    spare1;        /* unused for now */
  304. --- 21,27 ----
  305.   };
  306.   
  307.   struct Font {        /* characteristics of a font */
  308. !     unsigned char nwfont;    /* number of width entries for this font */
  309.       char    specfont;    /* 1 == special font */
  310.       char    ligfont;    /* 1 == ligatures exist on this font */
  311.       char    spare1;        /* unused for now */
  312. diff -r -c orig/xtroff/parse.c contrib/clients/xtroff/parse.c
  313. *** orig/xtroff/parse.c    Tue Nov  7 04:04:48 1989
  314. --- contrib/clients/xtroff/parse.c    Fri Feb 16 04:23:28 1990
  315. ***************
  316. *** 292,297 ****
  317. --- 292,301 ----
  318.       case 'g':                /* gremlin spline */
  319.           DrawSpline(buf+1, 0);
  320.           break;
  321. +     case 'z':                /* Bezier curve */
  322. +         warning("substituting B-spline for Bezier curve %s", buf);
  323. +         DrawSpline(buf+1,1);
  324. +         break;
  325.       case 't':                /* line thickness */
  326.           sscanf(buf+1, "%d", &n);
  327.           drawthick(n); 
  328. diff -r -c orig/xtroff/xwindows.c contrib/clients/xtroff/xwindows.c
  329. *** orig/xtroff/xwindows.c    Fri Dec 15 12:02:58 1989
  330. --- contrib/clients/xtroff/xwindows.c    Fri Feb 16 04:01:44 1990
  331. ***************
  332. *** 31,37 ****
  333.   # include    <X11/Xaw/Form.h>
  334.   # include    <X11/Xaw/SimpleMenu.h>
  335.   # include    <X11/Xaw/SmeBSB.h>
  336. ! # define XtScrollBarSetThumb XawScrollBarSetThumb
  337.   #else
  338.   # include     <X11/Scroll.h>
  339.   # include    <X11/Form.h>
  340. --- 31,37 ----
  341.   # include    <X11/Xaw/Form.h>
  342.   # include    <X11/Xaw/SimpleMenu.h>
  343.   # include    <X11/Xaw/SmeBSB.h>
  344. ! # define XtScrollBarSetThumb XawScrollbarSetThumb
  345.   #else
  346.   # include     <X11/Scroll.h>
  347.   # include    <X11/Form.h>
  348. ***************
  349. *** 745,751 ****
  350.                   ViewTop = 0;
  351.                   break;
  352.               }
  353. !         } else if (ViewTop < 0) {
  354.               ViewTop = 0;
  355.           }
  356.       } while (--PageRequest > 0);
  357. --- 745,752 ----
  358.                   ViewTop = 0;
  359.                   break;
  360.               }
  361. !         }
  362. !         if (ViewTop < 0) {
  363.               ViewTop = 0;
  364.           }
  365.       } while (--PageRequest > 0);
  366. ***************
  367. *** 1051,1068 ****
  368.           if (!ProcessPid){        /* First the Child */
  369.               int    y;
  370.   
  371. !             /*
  372. !              * reopen stdin as /dev/null just to make sure xtroff
  373. !              * doesn't hang waiting if the user was silly and
  374. !              * forgot to specify a filename, so the command
  375. !              * expects input from stdin.
  376. !              */
  377. !             (void) close(0);
  378. !             y = open("/dev/null", O_RDONLY, 0);
  379. !             if (y == -1) {
  380. !                 (void) fprintf(stderr,
  381. !                  "Someone stole /dev/null\n");
  382. !                 /* not fatal */
  383.               }
  384.               (void) close(1);
  385.               /* make stdout the pipe to the parent */
  386. --- 1052,1072 ----
  387.           if (!ProcessPid){        /* First the Child */
  388.               int    y;
  389.   
  390. !             if (CommandMode) {
  391. !                 /* 
  392. !                  * reopen stdin as /dev/null just to
  393. !                  * make sure xtroff doesn't hang waiting
  394. !                  * if the user forgot to specify a
  395. !                  * filename, so the command expects
  396. !                  * input from stdin.
  397. !                  */
  398. !                 (void) close(0);
  399. !                 y = open("/dev/null", O_RDONLY, 0);
  400. !                 if (y == -1) {
  401. !                     (void) fprintf(stderr,
  402. !                      "Someone stole /dev/null\n");
  403. !                     /* not fatal */
  404. !                 }
  405.               }
  406.               (void) close(1);
  407.               /* make stdout the pipe to the parent */
  408. ***************
  409. *** 1074,1083 ****
  410.                   (void) close(y);
  411.   
  412.               if (!CommandMode) {
  413. !                 (void) execl("/bin/cat", (char *) 0);
  414. !                 (void) fprintf(stderr,
  415. !                  "Someone stole /bin/cat - help!\n");
  416. !                 exit(1);
  417.               } else {
  418.                   system(p);
  419.                   exit(0);
  420. --- 1078,1093 ----
  421.                   (void) close(y);
  422.   
  423.               if (!CommandMode) {
  424. !                 /*
  425. !                  * forking a process just to do this
  426. !                  * seems a bit excessive, I know....
  427. !                  */
  428. !                 char buf[1024];
  429. !                 int nbytes;
  430. !                 
  431. !                 while((nbytes = read(0, buf, sizeof(buf))) > 0)
  432. !                     (void) write(1, buf, nbytes);
  433. !                 exit(0);
  434.               } else {
  435.                   system(p);
  436.                   exit(0);
  437. diff -r -c orig/xtroff/XtStuff/Imakefile contrib/clients/xtroff/XtStuff/Imakefile
  438. *** orig/xtroff/XtStuff/Imakefile    Sun Nov 19 10:52:12 1989
  439. --- contrib/clients/xtroff/XtStuff/Imakefile    Mon Feb 19 23:08:50 1990
  440. ***************
  441. *** 1,6 ****
  442.       STD_DEFINES = LibraryDefines
  443.       CDEBUGFLAGS = LibraryCDebugFlags
  444. !         DEFINES = -DXWINDOWS # -DDIRENT
  445.          INCLUDES = -I. -I$(XLIBSRC) \
  446.           -I$(TOP) -I$(TOP)/X11
  447.      INSTALLFLAGS = $(INSTINCFLAGS)
  448. --- 1,9 ----
  449.       STD_DEFINES = LibraryDefines
  450.       CDEBUGFLAGS = LibraryCDebugFlags
  451. ! #ifdef SystemV
  452. !          DIRENT = -DDIRENT
  453. ! #endif
  454. !         DEFINES = -DXWINDOWS $(DIRENT)
  455.          INCLUDES = -I. -I$(XLIBSRC) \
  456.           -I$(TOP) -I$(TOP)/X11
  457.      INSTALLFLAGS = $(INSTINCFLAGS)
  458. diff -r -c orig/xtroff/devpsc/Imakefile contrib/clients/xtroff/devpsc/Imakefile
  459. *** orig/xtroff/devpsc/Imakefile    Mon Nov 27 10:38:21 1989
  460. --- contrib/clients/xtroff/devpsc/Imakefile    Sun Feb 18 13:27:04 1990
  461. ***************
  462. *** 43,78 ****
  463.       rm -f [A-Z] [A-Z][A-Z] *.aux
  464.   
  465.   R:    ${XFONTDIR}/timR24.bdf
  466. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  467.   I:    ${XFONTDIR}/timI24.bdf
  468. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  469.   B:    ${XFONTDIR}/timB24.bdf
  470. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  471.   BI:    ${XFONTDIR}/timBI24.bdf
  472. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  473.   S:    ${XFONTDIR}/symb24.bdf
  474. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  475.   C:    ${XFONTDIR}/courR24.bdf
  476. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  477.   CB:    ${XFONTDIR}/courB24.bdf
  478. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  479.   CD:    ${XFONTDIR}/courBO24.bdf
  480. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  481.   CO:    ${XFONTDIR}/courO24.bdf
  482. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  483.   H:    ${XFONTDIR}/helvR24.bdf
  484. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  485.   HB:    ${XFONTDIR}/helvB24.bdf
  486. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  487.   HD:    ${XFONTDIR}/helvBO24.bdf
  488. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  489.   HO:    ${XFONTDIR}/helvO24.bdf
  490. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  491.   N:    ${XFONTDIR}/ncenR24.bdf
  492. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  493.   NB:    ${XFONTDIR}/ncenB24.bdf
  494. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  495.   ND:    ${XFONTDIR}/ncenBI24.bdf
  496. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  497.   NI:    ${XFONTDIR}/ncenI24.bdf
  498. !     awk -f ${XFONTDIR}/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  499. --- 43,78 ----
  500.       rm -f [A-Z] [A-Z][A-Z] *.aux
  501.   
  502.   R:    ${XFONTDIR}/timR24.bdf
  503. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  504.   I:    ${XFONTDIR}/timI24.bdf
  505. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  506.   B:    ${XFONTDIR}/timB24.bdf
  507. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  508.   BI:    ${XFONTDIR}/timBI24.bdf
  509. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  510.   S:    ${XFONTDIR}/symb24.bdf
  511. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  512.   C:    ${XFONTDIR}/courR24.bdf
  513. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  514.   CB:    ${XFONTDIR}/courB24.bdf
  515. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  516.   CD:    ${XFONTDIR}/courBO24.bdf
  517. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  518.   CO:    ${XFONTDIR}/courO24.bdf
  519. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  520.   H:    ${XFONTDIR}/helvR24.bdf
  521. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  522.   HB:    ${XFONTDIR}/helvB24.bdf
  523. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  524.   HD:    ${XFONTDIR}/helvBO24.bdf
  525. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  526.   HO:    ${XFONTDIR}/helvO24.bdf
  527. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  528.   N:    ${XFONTDIR}/ncenR24.bdf
  529. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  530.   NB:    ${XFONTDIR}/ncenB24.bdf
  531. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  532.   ND:    ${XFONTDIR}/ncenBI24.bdf
  533. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  534.   NI:    ${XFONTDIR}/ncenI24.bdf
  535. !     awk -f ../xfonts/adobe.awk $? | awk -f bdfdit.awk ; cat ${TEMPFILES} > $@; mv temp.aux $@.aux; rm ${TEMPFILES}
  536. diff -r -c orig/xtroff/psfd/psfd contrib/clients/xtroff/psfd/psfd
  537. *** orig/xtroff/psfd/psfd    Mon Feb 20 18:52:40 1989
  538. --- contrib/clients/xtroff/psfd/psfd    Sun Feb 18 13:51:19 1990
  539. ***************
  540. *** 1,8 ****
  541.   :
  542. ! :  psfd - PostScript font display
  543. ! :  generate pic drawing from font discription
  544. ! :  psfd file | pic | troff
  545. ! :
  546.   awk 'BEGIN {
  547.   }
  548.   
  549. --- 1,9 ----
  550.   :
  551. ! #
  552. ! #  psfd - PostScript font display
  553. ! #  generate pic drawing from font discription
  554. ! #  psfd file | pic | troff
  555. ! #
  556.   awk 'BEGIN {
  557.   }
  558.   
  559.  
  560. dan
  561. -----------------------------------------------------------
  562.             O'Reilly && Associates
  563.         argv@sun.com / argv@ora.com
  564.        632 Petaluma Ave, Sebastopol, CA 95472 
  565.      800-338-NUTS, in CA: 800-533-NUTS, FAX 707-829-0104
  566.     Opinions expressed reflect those of the author only.
  567.